package club.haomoon.boss.vo.system;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "系统登录Vo")
public class SystemLoginVo implements Serializable {

    private static final long serialVersionUID = 1L;

   @Schema(title  = "管理员ID")
    private Integer id;

   @Schema(title  = "登录令牌")
    private String token;

   @Schema(title  = "名称")
    private String name;

   @Schema(title  = "用户头像")
    private String avatar;
   @Schema(title  = "用户头像")
    @JsonProperty("role_name")
    private String roleName;
}
